package com.jingbian.cppccbackend.service.user;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.jingbian.cppccbackend.entity.Activities;
import com.jingbian.cppccbackend.entity.dto.ActivityCreateDTO;
import com.jingbian.cppccbackend.entity.dto.ActivityJoinedDTO;
import com.jingbian.cppccbackend.entity.dto.EnableActivityDTO;
import com.jingbian.cppccbackend.entity.dto.MyActivitiesDTO;
import com.jingbian.cppccbackend.vo.CanActivitiesVO;
import com.jingbian.cppccbackend.vo.CreateActivitiesVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pum
 * @since 2025-02-27
 */
public interface IActivitiesService extends IService<Activities> {

  void createActivity(ActivityCreateDTO activityCreateDTO);

  PageInfo<Activities> selectMyActivity(MyActivitiesDTO myActivitiesDTO);

  CreateActivitiesVO getActivities(Integer aid);

  void deleteActivity(Integer aid);

  PageInfo<Activities> getListEnableActivities(EnableActivityDTO enableActivityDTO);

  CanActivitiesVO getCanActivityDetail(Integer aid);

  PageInfo<Activities> getAlreadyJoin(ActivityJoinedDTO activityJoinedDTO);

  void updateTimeStatus();
}
